#include "Object.h"
#include "EDAABB.h"
#include "matrix4.h"

void Object::draw()
{
	if (id == GUN)glColor3f(1.f, 1.f, 1.f);
	if (id == AMMO)glColor3f(1.f, 0.f, 0.f);
	if (id == LOADEDGUN)glColor3f(0.f, 1.f, 0.f);
	if (id == PLAYER)glColor3f(0.f, 1.f, 0.f);

	glPushMatrix();
	glTranslatef(pos.x, pos.y, pos.z);
	glPointSize(12.f);
	glBegin(GL_POINTS);
	glVertex3f(0.f, 0.f, 0.f);
	glEnd();
	glPopMatrix();
}